package com.atguigu07._abstract;

/**
 * ClassName: Worker
 * Package: com.atguigu07._abstract
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/23 17:38
 * @Version 1.0
 */
public class Worker extends Person{
    @Override
    public void eat() {
        System.out.println("大口吃饭");
    }

    @Override
    public void sleep() {
        System.out.println("搂着姑娘睡");
    }
}
